//购物车表

const mongoose=require('./connection')
const  cartSchema=new mongoose.Schema({
    menuid:String,//商品id
    num:Number,//数量
    speandkind:String,//种类和规格
    userid:String//用户
})
const cartModel=mongoose.model('cart',cartSchema,'cart')
module.exports=cartModel